<template>
  <div style="height: 100%;display: flex;align-items: center;justify-content: center">
    <div class="loginBox">
      <h1>登录页面</h1>
      <el-form label-width="80px" label-position="left">
        <el-form-item label="账号">
          <el-input v-model="account"></el-input>
        </el-form-item>
        <el-form-item label="密码">
          <el-input v-model="password"></el-input>
        </el-form-item>
        <div style="display: flex;justify-content: space-around;margin-top: 60px">
          <el-button type="primary" style="width: 120px">确认</el-button>
          <el-button type="warning" style="width: 120px">取消</el-button>
        </div>
      </el-form>
    </div>
  </div>
</template>

<script>
export default {
  name: "login",
  data(){
    return{
      account:'',
      password:''
    }
  }
}
</script>

<style scoped>
.loginBox{
  height: 400px;
  width: 600px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  border-radius: 10px;
  padding: 0 100px 50px 100px;
  box-shadow: 0 0 10px #aaa;
  background-color: #fff;
}
/deep/.el-form{
  width: 100%;
}
</style>
